package scfw.service;

import java.util.List;
import scfw.model.Food;
import scfw.model.OrderItem;
import scfw.model.UserOrderItems;
import scfw.service.model.FoodSrModel;
import scfw.service.model.UserSrModel;

public abstract interface FoodServiceI
{
	public abstract Food getFoodById(int paramInt);

	public abstract List<Food> queryFoods(int paramInt);

	public abstract List<OrderItem> todayOrderItems(int paramInt);

	public abstract List<OrderItem> historyOrderItems(int paramInt);

	public abstract int submitFood(FoodSrModel paramFoodSrModel);

	public abstract int submitFoodOrder(FoodSrModel paramFoodSrModel)throws Exception;

	public abstract FoodSrModel editFood(int paramInt);

	public abstract int deleteFoodById(int paramInt);

	public abstract List<UserOrderItems> todayAllOrderItems();

	public abstract List<UserOrderItems> historyAllOrderItems();

	public abstract void cancelOrderItem(int paramInt1, int paramInt2, UserSrModel paramUserSrModel);

	public abstract void submitOrderItems();
}